using System;

namespace Book.Blog.Core.DTOs
{
    public class FileUploadResultDTO
    {
        public required string FileName { get; set; }
        public required string FileUrl { get; set; }
        public long FileSize { get; set; }
        public required string ContentType { get; set; }
        public DateTime UploadTime { get; set; }
    }

    public class ImageUploadResultDTO : FileUploadResultDTO
    {
        public int Width { get; set; }
        public int Height { get; set; }
        public required string ThumbnailUrl { get; set; }
    }

    public class FileUploadOptionsDTO
    {
        public bool GenerateThumbnail { get; set; } = true;
        public int MaxWidth { get; set; } = 1920;
        public int MaxHeight { get; set; } = 1080;
        public int Quality { get; set; } = 80;
        public string? Directory { get; set; }
    }
} 